package org.jeecg.modules.qyxxora.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.qyxxora.entity.ResetIndexLog;
import org.jeecg.modules.qyxxora.mapper.ResetIndexLogMapper;
import org.jeecg.modules.qyxxora.service.IResetIndexLogService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Description: 重跑指标日志
 * @Author: jeecg-boot
 * @Date:   2022-09-26
 * @Version: V1.0
 */
@Service
public class ResetIndexLogServiceImpl extends ServiceImpl<ResetIndexLogMapper, ResetIndexLog> implements IResetIndexLogService {

    @Override
    public Page<ResetIndexLog> selectIndexProcessLog(Integer currentPage, Integer pageSize) {
        Page page = new Page();
        page.setSize(pageSize);
        page.setCurrent(currentPage);
        return baseMapper.selectIndexProcessLog(page);
    }
}
